<template>
  <div>{{message}}</div>
  <div>{{obj.message}}</div>
  <div>{{obj.desc}}</div>
</template>
<script setup>
import { toRefs, reactive } from 'vue';
let obj = reactive({
  message: "这是修改前的message的值",
  desc: "这是修改前的desc值"
});
let { message, desc } = toRefs(obj);
setTimeout(() => {
  message.value = "这是修改后的message值";
  desc.value = "这是修改后的值";
}, 5000);
</script>
